#include "lib.h"

#include "tcpserv.h"
#include "tcpconn.h"

#include "casbase.h"

ThreeCardServer::ThreeCardServer(int port)
	: Server(port,TEXT("Tri-Card Poker"))
{
	startTracker();
}

ThreeCardServer::~ThreeCardServer()
{
	stopTracker();
}

Connection*
ThreeCardServer::createConnection(SOCKET client)
{
	return new ThreeCardConnection(this, client);
}
